.class Lcom/estrongs/android/ui/dialog/p0$a;
.super Ljava/lang/Object;
.source "PopDialog_View.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/p0;->c(Landroid/view/View;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/estrongs/android/ui/dialog/p0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/p0;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/p0$a;->b:Lcom/estrongs/android/ui/dialog/p0;

    iput p2, p0, Lcom/estrongs/android/ui/dialog/p0$a;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/p0$a;->b:Lcom/estrongs/android/ui/dialog/p0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    instance-of v0, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v0, :cond_0

    .line 2
    check-cast p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p1

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 4
    iget p1, p0, Lcom/estrongs/android/ui/dialog/p0$a;->a:I

    packed-switch p1, :pswitch_data_0

    const-string p1, ""

    goto :goto_0

    :pswitch_0
    const-string p1, "detail3"

    goto :goto_0

    :pswitch_1
    const-string p1, "detail2"

    goto :goto_0

    :pswitch_2
    const-string p1, "detail1"

    goto :goto_0

    :pswitch_3
    const-string p1, "list3"

    goto :goto_0

    :pswitch_4
    const-string p1, "list2"

    goto :goto_0

    :pswitch_5
    const-string p1, "list1"

    goto :goto_0

    :pswitch_6
    const-string p1, "icon3"

    goto :goto_0

    :pswitch_7
    const-string p1, "icon2"

    goto :goto_0

    :pswitch_8
    const-string p1, "icon1"

    .line 5
    :goto_0
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v1, "view"

    .line 6
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 7
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_0

    .line 8
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v1, "sd"

    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    .line 9
    invoke-virtual {p1}, Lorg/json/JSONException;->printStackTrace()V

    .line 10
    :cond_0
    :goto_1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/p0$a;->b:Lcom/estrongs/android/ui/dialog/p0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/p0;->c:Lcom/estrongs/android/ui/dialog/p0$d;

    if-eqz p1, :cond_1

    .line 11
    iget v0, p0, Lcom/estrongs/android/ui/dialog/p0$a;->a:I

    invoke-interface {p1, v0}, Lcom/estrongs/android/ui/dialog/p0$d;->a(I)V

    :cond_1
    return-void

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_8
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
